package com.wang.gulimall.ware;

//import com.alibaba.cloud.seata.GlobalTransactionAutoConfiguration;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.amqp.rabbit.annotation.EnableRabbit;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

//库存模块
@EnableFeignClients
@EnableDiscoveryClient
//@EnableTransactionManagement
@MapperScan("com.wang.gulimall.ware.dao")
@SpringBootApplication
@EnableRabbit
@EnableAspectJAutoProxy(exposeProxy = true)    //开启了aspect动态代理模式,对外暴露代理对象

public class GulimallWareApplication {

    public static void main(String[] args) {
        SpringApplication.run(GulimallWareApplication.class, args);
    }

}
